from rest_framework.serializers import ModelSerializer
from .models import *


class CateSer(ModelSerializer):
    class Meta:
        fields = '__all__'
        model = Category


class GoodSer(ModelSerializer):
    class Meta:
        fields = '__all__'
        model = Goods


class GoodimgSer(ModelSerializer):
    class Meta:
        fields = '__all__'
        model = GoodImg


class CarouselSer(ModelSerializer):
    class Meta:
        fields = '__all__'
        model = Carousel




